const preventReClick = {
	mounted(el) {
		console.log(el.disabled);
		el.addEventListener('click', () => {
			if (!el.disabled) {
				el.disabled = true;
				setTimeout(() => {
					el.disabled = false;
				}, 2000);
			}
		});
	},
};
export { preventReClick };
